#ifndef TOOLS_GLOBAL_H
#define TOOLS_GLOBAL_H

namespace Tool
{
#if defined __GNUC__
	#define ExportAPI __attribute__ ((visibility("default")))
#elif defined (_MSC_VER)
	#ifdef TOOL_LIBRARY
		#define ExportAPI __declspec(dllexport)
	#else
		#define ExportAPI __declspec(dllimport)
	#endif
#else
# define ExportAPI
#endif
}

#endif // GLOBAL_H
